﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PNTSystemClass
{
    public partial class ErrorDialog : Form
    {
        string title = "";
        string texts = "";
        public ErrorDialog(string Title, string Texts)
        {
            title = Title;
            texts = Texts;
            InitializeComponent();
        }

        private void OK_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void ErrorDialog_Load(object sender, EventArgs e)
        {
            Title.Text = title;
            Texts.Text = texts;
        }
    }
}
